<?php
$Cliente = Dracosys::getSessionValue(SESSION_INTERFACE, 'Customer');
?>
<h2>Estornar Cliente</h2>
<section id="Reverse">
    <section id="ReleasePayment">
    <header>
        <table class="TableInfo">
            <thead>
                <tr class="darkBlueGradient">
                    <th>NOME</th>
                    <th>EMAIL</th>
                    <th>DOCUMENTO</th>
                    <th>PLANO</th>
                </tr>
            </thead>
            <tbody>
                <tr class="lightblueGradient">
                    <td><?= $Cliente->getCustomerName() ?></td>
                    <td><?= $Cliente->getArGeneralData('StEmail') ?></td>
                    <td> <?= $Cliente->getDocument() ?></td>
                    <td> <?= $Cliente->getFinanceiro()->getPlano()->getStNome()?></td>
                </tr>
            </tbody>
        </table>
    </header>
    <form method="post" action="financeiro/executar-estorno" name="FormEstorno">
        <div class="out_txt big"><label for="Reverse_FoValor">Valor</label></div>
        <div class="inp_txt big"><input type="text" name="FoValor" id="Reverse_FoValor" value="" class="price" /></div>
        <div class="out_txt big"><label for="Reverse_DtData">Data</label></div>
        <div class="inp_txt big"><input type="text" name="DtData" id="Reverse_DtData" value="<?=today()?>" /></div>
        <div class="btn"><button class="v1">Cadastrar</button></div>
        <input type="hidden" name="IDFinanceiro" id="Reverse_IDFinanceiro" value="<?=treatUrl('id')?>" />
    </form>
</section>